﻿namespace PgBirdie.Core.Model.Database.Structure.ColumnTypes.DateTime
{
    public class PgTimestamp : PgColumnTypeBase
    {
        public bool WithTimeZone { get; private set; }
        public int Precision { get; private set; }

        public PgTimestamp(bool withTimeZone, int precision)
            : base(ColumnDataType.Timestamp, "System.DateTime", "timestamp")
        {
            WithTimeZone = withTimeZone;
            Precision = precision;
        }
    }
}